package heima3_2.cn.osc.ui.main_fragment.event_particulars_fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import net.oschina.app.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import heima3_2.cn.osc.presenter.event_recent_presenter.RecentPresenter;

/**
 * Created by Administrator on 2017/1/18 0018.
 */

public class EventRecentFragment extends Fragment{
    @Bind(R.id.wv_particulars)
    public WebView mWvParticulars;
    private View eventView;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        eventView = inflater.inflate(R.layout.fragment_synthesis_webview,container,false);
        ButterKnife.bind(this, eventView);
        iniData();
        return eventView;

    }

    private void iniData() {
        RecentPresenter recentPresenter=new RecentPresenter(getActivity(),this);
        recentPresenter.getData(0);


    }
}
